package com.ruoyi.project.oms.paeaAuAuditItem.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.project.oms.paeaAuType.domain.PaeaAuType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 【重点监控】对象 paea_au_audit_item
 *
 * @author ruoyi
 * @date 2020-03-22
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Accessors(chain = true)
@TableName(value = "paea_au_audit_item")
@JsonIgnoreProperties(value = {"handler","hibernateLazyInitializer","fieldHandler"})
public class PaeaAuAuditItem implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(value = "id")
    private String id;

    /** CODE */
    @Excel(name = "CODE")
    private String code;

    /** NAME */
    @Excel(name = "NAME")
    private String name;

    /** 结果类型 */
    @Excel(name = "结果类型")
    private Integer resultType;

    /** 机构 */
    @Excel(name = "机构")
    private String orgId;

    /** 柜员 */
    @Excel(name = "柜员")
    private String tellerId;

    /** 交易日期 */
    @Excel(name = "交易日期", width = 30, dateFormat = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date trDate;

    /** 监督人 */
    @Excel(name = "监督人")
    private String auditorId;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    /** 监督日期 */
    @Excel(name = "监督日期", width = 30, dateFormat = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date auitDate;

    /** 监督类型 */
    @Excel(name = "监督类型")
    private String auTypeId;

    /** batchId */
    @Excel(name = "batchId")
    private String batchId;

    /** 金额 */
    @Excel(name = "金额")
    private Integer txnAmt;

    /** 流水号 */
    @Excel(name = "流水号")
    private String vchNo;

    /** 交易码 */
    @Excel(name = "交易码")
    private String txnCde;

    /** reAuFlag */
    @Excel(name = "reAuFlag")
    private Integer reAuFlag;

    /** reAuOper */
    @Excel(name = "reAuOper")
    private String reAuOper;

    /** reAuDate */
    @Excel(name = "reAuDate", width = 30, dateFormat = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reAuDate;

    /** 流水id */
    @Excel(name = "流水id")
    private String dsTradeId;

    /** 流水号 */
    @Excel(name = "流水号")
    private String txnSeq;

    /** armsType */
    @Excel(name = "armsType")
    private String armsType;

   // private PaeaAuType paeaAuTypes;
    @Excel(name = "备注")
    private String remark;

    @TableField(exist = false)
    private PaeaAuType paeaAuType;

}
